package com.tmc.entity.inthotel;

import java.io.Serializable;

/**
 * @author legion
 *
 */
/**
 * @author legion
 *
 */
public class ToHotelTbl implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3593064779254272493L;
	private Integer hotelId;
	private String hotelName;
	private String location;
	private String cityName;
	private String stateName;
	private String countryName;
	private String continentName;
	public Integer getHotelId() {
		return hotelId;
	}
	public void setHotelId(Integer hotelId) {
		this.hotelId = hotelId;
	}
	public String getHotelName() {
		return hotelName;
	}
	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getStateName() {
		return stateName;
	}
	public void setStateName(String stateName) {
		this.stateName = stateName;
	}
	public String getCountryName() {
		return countryName;
	}
	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}
	public String getContinentName() {
		return continentName;
	}
	public void setContinentName(String continentName) {
		this.continentName = continentName;
	}
	
	@Override
	public boolean equals(Object obj) {
	    if (obj instanceof ToHotelTbl) {
	    	ToHotelTbl hotel = (ToHotelTbl) obj;
	        return (hotelName.equals(hotel.getHotelName()));
	    }else{
	    	return false;
	    }
    }
}
